
package com.nstc.ibd.dao;

import java.util.List;

import com.nstc.ibd.model.clms.ContractQuota;
import com.nstc.ibd.model.clms.ContractQuotaLedger;
import com.nstc.ibd.model.clms.ContractVariety;
import com.nstc.ibd.model.clms.scope.ClmsContractQuotaScope;
import com.nstc.ibd.model.clms.view.ClmsContractView;

public interface ClmsDao {
    
	Integer isExist(String creditNo);
	
	List<ClmsContractView> queryContractList(ClmsContractQuotaScope scope);
	
	Integer saveContract(ClmsContractView contractView);
	
	Integer saveContractVariety(ContractVariety variety);
	
	Integer saveContractQuota(ContractQuota quota);
	
	Integer saveContractQuotaLedger(ContractQuotaLedger ledger);
}
